A subpoena is a writ or order directed to a person and may require the attendance of such person at a particular time and place to testify as a witness on behalf of a particular party therein mentioned or may require such person to produce books, papers, documents, or tangible things and permit inspection thereof at a particular time and place.