Pergunta de entrevista da empresa Netguru

How pseudo slectors work (in details) in CSS?