Do you have to pay state and federal tax separately?

You have to pay them both every year and can file for an extenstion but have to do for both seperatly.