The IMEI is the unique number assigned to every phone released in the world. You can get it on your phone using *#06#. To get the WiFi Mac address, go to Settings > About Phone > Status. It will be like in the image below.
You can get the IMEI from the same window as well.