Legal frameworks protect both nurses and patients. For nurses, they provide a clear set of guidelines to follow, which can help prevent legal issues and professional misconduct. For patients, these frameworks ensure that they receive high-quality, competent, and ethical care. Compliance with legal frameworks also helps to maintain public trust in the healthcare system.