pseudo elements vs pseudo classes
They allow you to style certain parts of a document. For example, you can style the first letter of each paragraph.
They allow you to style a dynamic state of an element over time. For example, it can be used to style an element when someone hovers over an element or gets a focus.