what did he/she sayThe meaning depends on its role in the sentence: it can be a direct question (“What did he/she say?”) or part of a larger sentence (“what he/she said”). The subject is understood from context; “cosa” means “what,” and “ha detto” means “said.”