Scripts are cognitive structures that guide behavior by providing a sequence of expected actions in familiar situations. They represent a person's knowledge about the typical sequence of events in a particular context, allowing them to navigate social interactions and everyday activities efficiently.