Where to get ecommerce product images for building a theme

Hi all!

I just wanted to know where people get their product images for the ecommerce themes they are making. I searched some of the product images from themes with google and I saw and a couple of them came from big brand company’s. Is it legal to just use those images from them in a theme I’m building?