A Guide to Different Types of Electronic Components and Their Functions