The examination and determination of a cause by a judicial tribunal, often including determination of the guilt or innocence of an accused person by a court.