Always check the website for the rules of use and always give credit for the work!
Here's an example of an MLA citation for an online picture:
Furtado, Andre. “Woman Surrounded by Sunflowers” Pexels, 10 April 2020, www.pexels.com/@andre-furtado-43594.