Firewall in a computer system is used for:

A. Security

B. Transmission

C. Encryption

D. Fire drills

E. Reporting

A. Security

Explanation: The correct answer is A because the primary function of a firewall is to provide security by controlling incoming and outgoing network traffic based on predetermined security rules. Firewalls serve as a barrier between a trusted internal network and untrusted external networks, helping to prevent unauthorized access and potential threats.