How domain name can affect the SEO

Right now, it's almost impossible to get a great, meaningful .com domain.

I see there are many domains, like .act, .agency , .biz to sell.
I am wondering if these domains have any negative effects on SEO.