Why does food from restaurants taste so much better than when I cook the exact same thing at home?

Even when I follow the same recipe, it just doesn’t hit the same. Is it the equipment? The ingredients? or do chefs just have secret techniques they don’t tell us?