have rubber bands and grip tightly onto the face/nose and while they offer the highest protection they are uncomfortable for typical usage. They are best for medical professionals and others who are under high risk for exposure.
The best balance of protection and comfort are the KN95's and KF94's, which have similar filtration material to N95's but a more comfortable shape and earloops. Of course part of the discomfort of the N95's double head bands is to ensure a tight seal. Having a good fit thus is important in any mask to minimize leakage.
The cloth ones are not great, they lack the ability to filter viral particles and often fit too loose. Surgical masks are ok but they need to be of medical grade quality.
https://www.aerosol.mech.ubc.ca/what-size-particle-is-important-to-transmission/
Fit and filtration is the key to proper masking which many (most?) people don't apply properly.