The NSA has four data collection programs. Two collect “metadata,” and they are MAINWAY for phones and MARINA for the Internet. The other two collect content, and they are NUCLEON for phone calls and PRISM for the Internet.
For more, see “U.S. surveillance architecture includes collection of revealing Internet, phone metadata,” Barton Gellman, WaPo