An operating agreement is a legal document that outlines how the LLC will be run, including ownership and management.