According to the Chomsky Hierarchy, the requirement of a certain type of grammar to generate a language is often clubbed with a suitable machine that can be used to accept the same language. When the grammar is simple, the language becomes more complex, hence we require a more powerful machine to understand the language and accept it.
Example: Type 0 Grammar generates a Recursive Enumerable Language (REL), which requires "Turing Machine" to accept all strings. Similarly Type 2 Grammar generates Context Free Language accepted by a Push Down Automata (PDA).
The diagram above shows a input tape which is how a Finite Automata works, the strings are accepted into the tape and the read header keeps getting updated according the instructions provided by Finite Control Unit. Pushdown Automata on the other hand is a combination of this tape and a Stack data structure. The tuples included to form a PDA are as follows:

We see that the first four tuples Q,
This assumption helps us in two ways :-
- We overcome the underflow condition thus saving any memory to keep a check on Stack empty.
- Initial Stack symbol can be used to declare that string processing has been done successfully.

NOTE: NPDA is more powerful than DPDA.
Gamma Symbol (
- Push
- Pop
- Skip
1.PUSH
The transition takes place in the order :- Input, Topmost Element / Final List Here, a is the input element, which is inserted into the stack, thus making the final content to be aZo.

2.POP
The transition takes place in the order :-Input Element, Topmost Element / Removal Confirmation Here, a is the input, c is the element to be deleted and the removal confirmation is shown by Epsilon symbol declaring that the immediate has been popped and is Empty.

3.SKIP
The transition takes place in the order:- Input Element, Topmost element/Topmost Element Here, a is the input and the stack remains unchanged after this operation. Hence, this concludes the detailed study on how a Pushdown Automata works. Next we will be heading onto some examples to make working and transitions more clear.