A subpoena is a court-issued order that normally asks you to be present at a specific location, date, and time to appear and testify as a witness in a specific case.
You can only be summoned to testify in court in a criminal matter.
However, you may also be summoned to testify outside of the courtroom in a civil matter.