The right to remain silent exists in many legal systems. In the US, the Fifth Amendment makes sure that nobody is forced to witness against themselves. If the police arrests somebody, they are obliged to inform the person about his/her right to remain silent, this is called the Miranda warning.