Como funciona investigação do Ministério Público?