JavaScript offers three types of pop-up windows for user interaction: alert() for displaying
messages, confirm() for confirmations (yes/no), and prompt() for data input. These windows
are useful for simple messages, warnings, and capturing user inputs. In modern development, custom styled modal
dialogs are also frequently used.