How do they know if the Pfizer vaccine is 90% efficient?

Despite the distrust in vaccinations, especially this one, it’s a good idea read how this COVID-19 vaccine is effective, and what this vaccine is different compared with the more conventional vaccines.