Section 52 of the Copyright Act allows fair dealing for private or personal use, including research, criticism, review, and reporting. If you are building educational tools or research datasets, citing sources properly and not commercializing copyrighted materials directly keeps you on solid legal ground.