IR receiver 2 pin

Hey every one... I have a question about the IR sensor with 2 pin. I have |316x500 this one, another picture: https://daks2k3a4ib2z.cloudfront.net/5654e7207deb65b23ea76b73/56a9b9f09a0e3cfa50ad9b70_Nerf%20Lazer-27.jpg the black one i mean.. the red is led ;) So i really not know how to use this, how to connect to the arduino and how to get data from this one. Thanks for the assistance !