Books are useful for research into historical topics or for in-depth coverage of subjects. Books take time to publish, so there may be fewer on extremely current topics. Use the table of contents and index to skip to the parts of the book that are helpful to you.
Articles focus on a very narrow topic. They provide current information. Newspapers and magazines provide the most current coverage from a more general perspective. Academic, scholarly articles take an expert perspective. They are often very informative but can sometimes be difficult for non-experts to read.
Websites can be a good source of information that's difficult to find elsewhere, including the latest information (breaking news) or marginalized perspectives. However, someone can share information online without editing, fact-checking, or quality control unlike publishing a book or scholarly article. That is why it's extra important for you to critically evaluate web information.