A cable gland is a device attached to the end of an electrical cable to secure that particular part of…