using params[:...] in views

I used params[:…] in some views instead of @object.param by mistake but it works Can someone please explain