Windows XP has a fax program, but you can’t just plug in a phone line and start using it.
To send and receive faxes you need either a fax device (such as a fax modem) attached to your computer, or a connection to a remote fax device (like an all-in-one printer, scanner, fax).
~ David