I have a .22 that I am good with. Is it legal to shoot them?

I also have an airsoft pistol that has roughly 10% accuracy.