Font units may either be relative or absolute. Absolute units have no real meaning on a computer screen so are not covered here. Relative units include ...
em, en and ex are units historically based on metal type. In style sheets they act as multiples of a default size e.g. If the default size were 10 pixels then 2em would be 20px.
px is straightforwardly a size in pixels which will show as a different physical size on different screen resolutions.