AI is increasingly being used in modern warships to improve situational awareness, enhance decision-making processes, and automate various tasks such as target identification and tracking. AI has the potential to increase the efficiency and effectiveness of naval operations but also introduces new challenges, such as ensuring the security of AI systems and ensuring that decisions made by AI align with ethical and legal principles.