Thickness of the cable depends on the amount of current your device draws. More current, thicker cable, or your losses become too much. Cat-5 can't carry much current.
Wawa:
For long lengths (more than a few meters), use a 100n ceramic cap from Arduino input pin to Arduino ground.
Depending on the data rate, you may need to treat the line as a transmission line and use matched impedances at each end. (Matched to the cable's characteristic impedance.)
i can use 100 Meter of Cat5 to link arduino to PIR Sensor or any Sensor and use 100 nf Ceramic Capacitor to reduce the attenuation . is that right ?
if i use external wire like electric wire i can use over 100 Meter with thickness 1 mm to transmite 5 volt from arduino to PIR Sensor , and get Signal from Seneor back to Arduino is that right ?
The simple answer is "yes" but, depending on the electrical noise nearby, you may need to do more work.
Is this going between different buildings? Then you have to consider lightning protection. Lightning can hit nearby and induct significant currents into your wire.
The simple answer is the relationship between the resistance of the cable, the voltage and current needed to signal to the other end, and any effects external RFI may have.
Running digital signal cables next to lift power cables for example cause a few issues because of induced voltages during switching.
Mostly the device manufacturer will indicate recommended cable etc., in your case it seems you will have little current draw so CAT5 will probably work just fine.
Professionally sensors are generally installed using 1.5mm2 conductors (1.0mm2 is more than adequate), but that is as much for mechanical strength as low resistance, a 10K NTC v. 100m of line drop is insignificant. Also they tend to use either 4-20mA drivers or 0-10V sources for analogue sensors with 24Vac supply.
Digital signals are usually defined in the hardware layer, so typically RS232 has a normal limit of 15m, RS485 1.5km, ethernet nominally 100m. But they can often be pushed, it depends what is around them.
As MorganS noted, if going between buildings - do it underground! Lightning makes a big mess.
Even underground is susceptible to lightning strikes. But it is safer. If there's a 1000V pulse on the cable then it will probably discharge to ground after damaging your Arduino. This makes it less likely to start a fire inside your house.