Portuguese and Spanish are closely related, as they are both Latin-based languages and share many grammatical structures and patterns.