It’s a toy of some kind on the bottom. The selector lever in the wrong location and no bolt release. It’s a CO2 gun.
Also, no castle nut on the buffer tube. It’s a BB gun.