Phishing is a type of cyber attack where the attacker tries to trick the victim into providing sensitive information such…