trials are used to determine guilt and punishment of criminals