Understanding MOSFET: Types and Applications