I couldn\'t understand how can i send message from iOS device to another iOS device, and trying to understand the difference between Firebase Notifications and Google Cloud
No you cannot do this on iOS using firebase, what you should do is call a service on your firebase which will send a notification to the other device. APNS and GCM are a little different in terms of the server setup.
For GCM you just need the API key to be added in the POST call you make to https://android.googleapis.com/gcm/send which can be done anywhere server, mobile device, etc. All you need is the target devices device token and the API key.
APNS works differently you need attach the server SSL cert that you create on the Apple developer portal to authenticate yourself and send a push notification to a device. I am not sure how you could achieve this on an iOS device.
This thread clarifies the real difference between GCM and Firebase,
Real-time Push notifications with Firebase
https://firebase.google.com/support/faq/#gcm-not
Firebase and GCM are different but they can be used to achieve the same goals. Hope it helps you.