is there anyway to connect Arduino sensors like sound(ky-038) and smell(MQ-3) with photon and what is library should I include???
As long the sensors can accept 3.3V logic you should be able to use virtually any sensor you can use with Arduino too.
When it comes to libraries you’d probably need to slightly modify them as long they don’t use too hardware specific features (e.g. machine code/ASM or HW timers).