If you close the application, Mac machines can run for longer due to less drain on the battery. If you are using a laptop and you want to conserve battery, chances are it’s best to quit apps when you are done using them. These features usually work unless the app itself is poorly optimized or written.
These days, macOS has features in place to optimize resource efficiency when apps are running in the background, such as when they are minimized or in standby mode.
If your primary concern is whether leaving apps running will hungrily consume your processor and memory resources, the answer is not really. You may be wondering - do you even need to quit apps on a MacBook? The answer is, well, not really.