Question: What is the purpose of the \'fetch\' API in JavaScript?
Options:
Correct Answer: To retrieve data from a server
Solution:
The \'fetch\' API is used to make network requests to retrieve data from a server.