JavaScript can make HTTP requests to fetch data from servers, allowing web applications to interact with external resources.