Web Analytics

Why did artists use pinhole cameras during the Renaissance? ( i would really appreciate it if someone could help me with this question.)