Of course it matters. Article 3 of the Criminal Procedure Law stipulates that the public security organs shall be responsible for the investigation, detention, execution and pre-trial of criminal cases. The people's procuratorate shall be responsible for the prosecution, approval of arrest, investigation and prosecution of cases directly accepted by procuratorial organs. The people's court is responsible for the trial. Except as otherwise specified by law, no other organ, organization or individual has the right to exercise these powers.
The public security organ needs the approval of the procuratorial organ to request arrest; When trying criminals, procuratorial organs bring a public prosecution to the court on behalf of the state; Procuratorial organs are responsible for the legal supervision of the whole process of case litigation.