What is the difference between a squash plant and an oak tree?

Maybe the most obvious difference is how long they thrive and bear fruit.