Just like you can write the apesapex command button <apex:commandButton>
component must always be a child component of the <apex:form>
:
<apex:form>
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="Save"/>
</apex:pageBlockButtons>
<apex:form