The Quad (Quadrilateral Security Dialogue) is a strategic partnership and an informal security alliance between the United States, India, Japan, and Australia, aimed at promoting a "free and open Indo-Pacific" through economic initiatives and regional stability efforts.
A formal security alliance is a binding agreement between two or more states that commit them to mutual defense, military cooperation, or strategic coordination in response to security threats. An example of this would be NATO.