Pseudo-classes select elements
based on their state.
Pseudo-elements select specific
parts of an element or insert
additional content.
Example:
Here, :hover
is an element's state.
::first-line
is
targeting a part of the element.
::before
inserts additional
content.