Like all CSS selectors, you can use :nth-child() to identify elements in a webpage and apply styles to them. But this selector lets you narrow down a set of siblings based on their relative position.
Understanding the CSS :nth-child() Selector
This CSS feature is particularly useful for styling tables and complex lists.